public class CCard 
{
	public enum enum_ColorOfCard
	{
		COC_SPADE("Spade"), COC_HEART("Heart"), COC_DIAMOUND("Diamound"), COC_CLUB("Club"), COC_NULL("Null");
		
		private String str_NameOfColor;
		
		private enum_ColorOfCard(String str_NameOfColor)
		{
			this.setStr_NameOfColor(str_NameOfColor);
		}

		public String getStr_NameOfColor() {
			return str_NameOfColor;
		}

		public void setStr_NameOfColor(String str_NameOfColor) {
			this.str_NameOfColor = str_NameOfColor;
		}
	}
	
	public enum enum_ValueOfCard 
	{
		VOC_TWO(2, "Two"),		VOC_THREE(3,"Three"),		VOC_FOUR(4,"Four"),
		VOC_FIVE(5, "Five"),	VOC_SIX(6, "Six"),			VOC_SEVEN(7, "Seven"),
		VOC_EIGHT(8,"Eight"),	VOC_NINE(9,"Nine"),			VOC_TEN(10,"Ten"),
		VOC_JACK(11,"Jack"),	VOC_QUEEN(12,"Queen"),		VOC_KING(13,"King"),
		VOC_NULL(0,"Null"),		VOC_ACE(14,"Ace");
	
		private int int_ValueOfCard;
		private String str_NameOfCard;
	
		private enum_ValueOfCard(int int_ValueOfCard, String str_NameOfCard)
		{
			this.int_ValueOfCard = int_ValueOfCard;
			this.str_NameOfCard = str_NameOfCard;
		}
	}
	
	private enum_ColorOfCard ColorOfCard;
	private enum_ValueOfCard ValueOfCard;
	
	public CCard()
	{
		this.ColorOfCard = enum_ColorOfCard.COC_NULL;
		this.ValueOfCard = enum_ValueOfCard.VOC_NULL;
	}
	
	public CCard(enum_ColorOfCard ColorOfCard, enum_ValueOfCard ValueOfCard)
	{
		this.ColorOfCard = ColorOfCard;
		this.ValueOfCard = ValueOfCard;
	}
	
	public void setColorOfCard(enum_ColorOfCard ColorOfCard)
	{
		this.ColorOfCard = ColorOfCard;
	}
	
	public enum_ColorOfCard getColorOfCard()
	{
		return this.ColorOfCard;
	}
	
	public void setValueOfCard(enum_ValueOfCard ValueOfCard)
	{
		this.ValueOfCard = ValueOfCard;
	}
	
	public enum_ValueOfCard getValueOfCard()
	{
		return this.ValueOfCard;
	}
	
	String getColorOfCardName()
	{
		return this.ColorOfCard.str_NameOfColor;
	}
	
	int getIntegerValueOfCard()
	{
		return this.ValueOfCard.int_ValueOfCard;
	}
	
	String getValueOfCardName()
	{
		return this.ValueOfCard.str_NameOfCard;
	}
	
}
